package com.lx.patterns.memento.white;

/**
 * @ClassName RoleStateMemento
 * @Description: 用户状态备忘录-备忘录角色
 * @Author: 落雪
 * @CreateDate: 2025/2/15 15:21
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/2/15 15:21
 * @UpdateRemark:
 * @Version: 1.0
 */
public class RoleStateMemento {

    private int vit;
    private int atk;
    private int def;

    public RoleStateMemento() {
    }

    public RoleStateMemento(int vit, int atk, int def) {
        this.vit = vit;
        this.atk = atk;
        this.def = def;
    }

    public int getVit() {
        return vit;
    }

    public void setVit(int vit) {
        this.vit = vit;
    }

    public int getAtk() {
        return atk;
    }

    public void setAtk(int atk) {
        this.atk = atk;
    }

    public int getDef() {
        return def;
    }

    public void setDef(int def) {
        this.def = def;
    }
}
